package spese.gestore.androidiani;

/**
 * Classe generata dai tutorial del ronchetti. Si deve implementare con MissioniDb e poi si può eliminare.
 * @author Fusinato Lorenzo
 *
 */
public class Missione {
private long id;
private String name;
private String place;
private String sDate;
private String eDate;

Missione(){}

Missione(long id, String name, String place, String sDate, String eDate){
this.name=name;
this.place=place;
this.sDate=sDate;
this.eDate=eDate;
this.id=-1; // means: not in DB
}

Missione(String name, String place, String sDate, String eDate){
this.name=name;
this.place=place;
this.sDate=sDate;
this.eDate=eDate;
this.id=id; // means: not in DB
}

public long getId() { return id; }

public void setId(long id) { this.id = id;}

public String getName() { return name; }

public void setName(String name) {
this.name = name; }

public String getPlace() {
return place; }

public void setPlace(String place) {
this.place = place; }

public String get_sDate() {
return sDate; }

public void set_sDate(String sDate) {
this.sDate = sDate; }

public String get_eDate() {
return eDate; }

public void set_eDate(String eDate) {
this.eDate = eDate; }

@Override
public String toString() {
return name+" "+place+" "+sDate+" "+eDate;
}


}
